package com.example.ytyproject.service;

import com.example.ytyproject.entity.AreaGuizhou;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.ytyproject.entity.vo.R;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-04-12
 */
public interface AreaGuizhouService extends IService<AreaGuizhou> {

    R tree();

    R listByParentId(String parentId);

    // 通过编码获取完整路径地址
    String getAreaAddress(String areaCode);
}
